Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODLink


Unlock

The Unlock method unlocks this link object, relinquishing access to its content storage unit.

void Unlock (in ODLinkKey key);
key
A valid link key obtained by a prior call to the Lock method.
DISCUSSION
You should call this method as soon as possible after accessing the content storage unit of this link object.

The key parameter should be a valid key obtained by an earlier call to the Lock method. After this method executes successfully, the specified key is no longer valid and access to the link's content is relinquished.

EXCEPTIONS
kODErrBrokenLink
Internal error; the link-source object disconnected from its destinations.
kODErrInvalidLinkKey
The key parameter is not a valid key for this link.
SEE ALSO
The ODLinkKey type (page 924).
The ODLink::Lock method (page 354).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help